import request from './request.js';

/** @name 会员预支付 **/
export function vipPrePayAPI (data) {
  return request({
    url: '/wx/vipPrePay',
    method: 'post',
    data
  })
}

/** @name 会员支付 **/
export function vipPayAPI (data) {
  return request({
    url: '/wx/vipPay',
    method: 'post',
    data
  })
}

/** @name 获取支付信息 **/
export function getPayInfoAPI (data) {
  return request({
    url: '/wx/getVipPayInfo',
    method: 'get',
    data
  })
}

/** @name 获取会员统计 **/
export function getVipStatisticsAPI () {
  return request({
    url: '/wx/getVipStatistics',
    method: 'get',
  })
}

/** @name 获取会员车辆 **/
export function getVipCarAPI () {
  return request({
    url: '/wx/getVipCar',
    method: 'get',
  })
}
